package com.lizhenyao.waimai.enums;

import lombok.Getter;
import org.aspectj.apache.bcel.classfile.Code;

/**
 * @Author: lizhenyao
 * @Desciption: 订单状态的枚举类
 */
@Getter
public enum OrderStatusEnum implements CodeEnum{
    NEW(0, "新订单"),
    FINISHED(1, "完结"),
    CANCEL(2, "已取消")
    ;

    private Integer code;

    private String msg;

    OrderStatusEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
